﻿using System;
using System.Collections.Generic;
using System.Text;
using Microsoft.MediaCenter.Hosting;
using Microsoft.MediaCenter.UI;
using System.Linq;
using System.Xml.Linq;
using Playkanaler;
using System.Windows.Forms;
using System.IO;
using Playkanaler;

namespace Playkanaler
{

    public class FilterItem : Item
    {



        string attribute;
        string where;
        string equals;


        public FilterItem()
        {

        }

        public FilterItem(string attr, string wher, string equl)
        {
            Title = equl;
            attribute = attr;
            where = wher;
            equals = equl;

           
        }
        public FilterItem(string attr, string wher, string equl, int indx)
        {
            Title = equl;
            attribute = attr;
            where = wher;
            equals = equl;
            Index = indx;

           
        }


        public char split = ',';

        public string Attribute
        {
            get
            {
                return attribute;
            }
            set
            {
                attribute = value;
            }
        }
        public string Where
        {
            get
            {
                return where;
            }
            set
            {
                where = value;
            }
        }
        public string Equal
        {
            get
            {
                return equals;
            }
            set
            {

                equals = value;

            }
        }

     




    }
}

